Skip to content

Conversation

@wangpc-pp
Copy link
Contributor

RegisterClassInfo::getRegPressureSetLimit is a wrapper of
TargetRegisterInfo::getRegPressureSetLimit with some logics to
adjust the limit by removing reserved registers.

It seems that we shouldn't use TargetRegisterInfo::getRegPressureSetLimit
directly, just like the comment "This limit must be adjusted
dynamically for reserved registers" said.

Separate from #118787

`RegisterClassInfo::getRegPressureSetLimit` is a wrapper of
`TargetRegisterInfo::getRegPressureSetLimit` with some logics to
adjust the limit by removing reserved registers.

It seems that we shouldn't use `TargetRegisterInfo::getRegPressureSetLimit`
directly, just like the comment "This limit must be adjusted
dynamically for reserved registers" said.

Separate from llvm#118787
@wangpc-pp wangpc-pp force-pushed the main-machinesink-reg-pressure-set branch from c364a84 to e74f73a Compare December 18, 2024 06:49
@wangpc-pp wangpc-pp merged commit b6ad231 into llvm:main Dec 18, 2024
5 of 7 checks passed
@wangpc-pp wangpc-pp deleted the main-machinesink-reg-pressure-set branch December 18, 2024 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants